-- 计算签到奖励倍数

return function(days)
    local vipLevel = 0  -- vip等级，暂时没有
    
    if days == 1 then
        -- vip1以上可以双倍
        return iif(vipLevel >= 1, 2, 1)
    elseif days == 3 then
        -- vip2以上可以双倍
        return iif(vipLevel >= 2, 2, 1)
    elseif days == 5 or days == 6 then
        -- vip3以上可以双倍
        return iif(vipLevel >= 3, 2, 1)
    elseif days == 8 or days == 10 then
        -- vip4以上可双倍
        return iif(vipLevel >= 4, 2, 1)
    elseif days == 11 or days == 13 then
        -- vip5可双倍
        return iif(vipLevel >= 5, 2, 1)
    elseif days == 15 or days == 16 then
        -- vip6可双倍
        return iif(vipLevel >= 6, 2, 1)
    elseif days == 18 or days == 20 then
        -- vip7可双倍
        return iif(vipLevel >= 7, 2, 1)
    elseif days == 21 or days == 23 then
        -- vip8可双倍
        return iif(vipLevel >= 8, 2, 1)
    elseif days == 25 or days == 26 then
        -- vip9可双倍
        return iif(vipLevel >= 9, 2, 1)
    elseif days == 28 or days == 30 or days == 31 then
        -- vip10可双倍
        return iif(vipLevel >= 10, 2, 1)
    else
        -- 其他情况都是1倍
        return 1
    end
end

